from pyprocessing import ellipse, rect

class CircleDrawer():
    
    @staticmethod
    def draw(point, size, center):
        ellipse(point.gx + center, point.gy + center, size, size);
    
class RectDrawer():
    
    @staticmethod
    def draw(point, size, center):
        x = point.gx + center - size/2
        y = point.gy + center - size/2        
        rect(x, y, size, size);